package com.dao;

import com.bean.Goods;
import com.bean.Orders;
import org.apache.ibatis.annotations.Param;
import org.springframework.data.relational.core.sql.In;

import java.util.List;
import java.util.Map;

public interface OrderGoodsMapper {

    Long selectByOrderIdAndGoodsId(@Param("orders") Orders orders,@Param("goods") Goods goods);

    Integer insert(Long orderId,Long goodsId);

    Integer deleteBatch(List<Long> orderGoodsIdList);

}
